<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>示界港管理平台</title>
<%@ include file="/jsp/common/common_script.jsp"%>
<style type="text/css">
</style>
<script type="text/javascript">
 var g_userId = '<%=session.getAttribute("userId")%>';
 var g_bAdmin = "<%=session.getAttribute("isAdmin")%>";
</script>

</head>
<body>
	<table class="queryTable">
		<tr>
			<td class="queryTitle" width="80px">场景分类</td>
			<td class="queryContent"><select id="editSceneType"
				name="editSceneType" class="easyui-combobox" panelHeight="auto"
				editable="false" style="width: 110px">
					<option value="0" selected>[不限]</option>
			</select></td>
			<td class="queryTitle" width="68px">标题</td>
			<td class="queryContent" colspan="2"><input class="inputText"
				type="text" id="queryTitleName" /></td>
			<td class="queryBtnTd"><a href="javascript:void(0)"
				onclick="doQuery()" iconCls="icon-search" class="easyui-linkbutton">查询</a>
			</td>
		</tr>
	</table>

	<table id="tmplGrid"></table>

	<div id="notifyDlg" class="easyui-window" title="" closed="true"
		style="width: 428px; height: auto; text-align: center; background: #fff;">
		<div border="false" style="padding-left: 20px;">
			<form id="notifyForm" method="POST">
				<s:hidden name="notifyId" id="notifyId" />
				<table border="0" class="queryTable" width="95%" height="auto"
					style="margin-bottom: 0px;" id="orderTable">
					<tr>
						<td class="queryTitle" width="80px">显示顺序</td>
						<td class="queryContent"><s:textfield id="notify"
								name="notify" cssClass="inputText easyui-validatebox"
								data-options="" onkeyup="value=value.replace(/[^\d]/gi,'')"
								cssStyle="width:250px" /></td>
					</tr>
				</table>
			</form>
		</div>
		<div
			style="clear: both; padding-top: 10px; margin-bottom: 10px; text-align: center;"
			id="notifyBtn">
			<a class="easyui-linkbutton" iconCls="icon-ok"
				href="javascript:void(0)" onclick="doUpdNotify()">确定</a> <a
				class="easyui-linkbutton" iconCls="icon-cancel"
				href="javascript:void(0)" onclick="cancelUpdNotify()">取消</a>
		</div>
	</div>

	<div id="editDlg" class="easyui-window" title="" closed="true"
		style="width: 700px; height: 450px; text-align: center; background: #fff;">
		<div border="false" style="padding-left: 10px; padding-right: 10px">
			<form id="editForm" method="POST">
				<s:hidden name="editStId" id="editStId" />
				<s:hidden name="editCurType" id="editCurType" />
				<table border="0" class="queryTable" width="96%" height="auto"
					style="margin-bottom: 0px;" id="editTable">

					<tr id="trForEdit">

					</tr>
					<tr>
						<td class="queryTitle" width="100px">场景分类</td>
						<td class="queryContent" colspan="6"><select
							id="editNotifyUse" name="editTopicUse" class="easyui-combobox"
							panelHeight="auto" editable="false" style="width: 200px">
								<option value="0" selected>[不限]</option>
						</select></td>
					<tr>
						<td class="queryTitle" width="100px">标题</td>
						<td class="queryContent" colspan="6"><input class="inputText"
							type="text" style="width: 200px" id="editTopicTitle"
							maxlength="15" /></td>
					<tr>
					</tr>
					<tr>
						<td class="queryTitle" width="100px">链接地址</td>
						<td class="queryContent" colspan="6"><input class="inputText"
							type="text" style="width: 200px" id="editTopicUrl" /></td>
					</tr>
					<tr>
						<td class="queryTitle" width="100px">场景描述</td>
						<td class="queryContent" colspan="6"><textarea
								id="editTopicDesc" name="editTopicDesc" maxlength="100" rows="5"
								cols="55" class="inputText easyui-validatebox"
								style="width: 100%; resize: none;"
								data-options="required:true,validType:['maxLength[100]']"></textarea>
						</td>
					</tr>
					<tr>
						<td class="queryTitle" width="100px" height="100px">场景配图</td>
						<td class="queryContent" colspan="5">
							<div
								style="display: table; text-align: center; height: 100px; width: 200px">
								<span style="display: table-cell; vertical-align: middle"
									id="topicImg"> </span>
							</div>
						</td>
						<td class="queryContent"><a class="easyui-linkbutton"
							id="selImgFile" iconCls="icon-add" href="javascript:void(0)">选择图像</a>
						</td>
					</tr>
				</table>
			</form>
		</div>
		<div
			style="clear: both; padding-top: 10px; margin-bottom: 10px; text-align: center;"
			id="editBtn">
			<a class="easyui-linkbutton" iconCls="icon-ok"
				href="javascript:void(0)" onclick="doEdit()">确定</a> <a
				class="easyui-linkbutton" iconCls="icon-cancel"
				href="javascript:void(0)" onclick="cancelEdit()">取消</a>
		</div>
	</div>
	
	<script type="text/javascript" src="${ctx }/js/qiniu/plupload/plupload.full.min.js"></script>
	<script type="text/javascript" src="${ctx }/js/qiniu/plupload/i18n/zh_CN.js"></script>
	<script type="text/javascript" src="${ctx}/js/tg/sceneinfo.js"></script>
	<script type="text/javascript" src="${ctx}/js/encrypt/encrypted-min.js"></script>
</body>
</html>
